package controllers;

import java.util.Date;

import models.DriverJourney;
import models.User;
import models.Vehicle;
import play.mvc.With;

import common.FBSecure;

@With(FBSecure.class)
public class DriverJourneyDetails extends FBController {
	
	public static void driverjourneydetails(long id){
		
		setFbIdandName();

		User user = getUser();
		
		DriverJourney driverJourney = DriverJourney.findById(id);
		
		render(user, driverJourney);
	}
	
}
